home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / m68k / 297 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: newsserver.rdcs.kodak.com!fietze
  2. From: fietze@kagcpd01.ag01.kodak.COM (Roman Fietze)
  3. Newsgroups: comp.sys.m68k
  4. Subject: Re: Interrupts
  5. Date: 28 Feb 1996 11:15:47 GMT
  6. Organization: Eastman Kodak Company
  7. Message-ID: <FIETZE.96Feb28121547@kagcpd01.ag01.kodak.COM>
  8. References: <DnGHC4.uw@ecf.toronto.edu>
  9. NNTP-Posting-Host: kagcpd01.ag01.kodak.com
  10. In-reply-to: huangs@ecf.toronto.edu's message of Tue, 27 Feb 1996 22:33:39 GMT
  11.  
  12. In article <DnGHC4.uw@ecf.toronto.edu> huangs@ecf.toronto.edu (Jeff Cheung) writes:
  13.  
  14.    Does anyone have a sample program of how to setup interrupts for
  15.    68332 using C program?  
  16.  
  17. This all depends on the Compiler and the OS you use. Simply said you
  18. write the code address of your interrupt routine to the vector (adr =
  19. VBR + 4 * interrupt_no) and push and pop all registers used by your
  20. compiler/code before and after the ISR (maybe write some wrapper in
  21. assembly).
  22.  
  23. Roman
  24. -- 
  25. Roman Fietze (Mail Code 5023)              Kodak AG Stuttgart/Germany
  26. fietze@kagcpd01.ag01.kodak.COM                       fietze@kodak.COM
  27.